package com.xiaoniu.forum.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoniu.forum.common.utils.CommonQueryVo;
import com.xiaoniu.forum.common.utils.PageUtils;
import com.xiaoniu.forum.entity.CommunityTopicCommentEntity;

import java.util.Map;

/**
 * 话题评论表
 *
 * @author xiaoniu
 * @email 55333@qq.com
 * @date 2021-03-26 10:14:43
 */
public interface CommunityTopicCommentService extends IService<CommunityTopicCommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, QueryWrapper<CommunityTopicCommentEntity> wrapper);

    PageUtils getListForPass(Map<String, Object> params);

    void passed(String topicCommentId);

    void passedFailed(String topicCommentId, String message);

    PageUtils queryPage(CommonQueryVo queryVo);

    void disableById(String topicCommentId);

    void enabledById(String topicCommentId);
}

